﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            //2、猫、狗、鸭、猴，（吃、游泳、爬树）

            Cat c = new Cat("猫");
            c.PrintEat();
            c.Climb();
            Console.WriteLine("-------------------");
            Dog d = new Dog("狗");
            d.PrintEat();
            d.Swim();
            Console.WriteLine("-------------------");
            Dark dark = new Dark("鸭");
            dark.PrintEat();
            dark.Swim();
            Console.WriteLine("-------------------");
            Monkey m = new Monkey("猴");
            m.PrintEat();
            m.Climb();
        }
    }
}
